package cn.btks.backstagemanage.app.service;

import cn.btks.backstagemanage.app.pojo.AppVersion;
import cn.btks.commonserver.result.ResultState;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Author lijun
 * @Date 2021/4/9 15:22
 */
public interface AppVersionService {

    /**
     * 查询版本信息
     * @return
     */
    List<AppVersion> findAll();

    /**
     * 保存版本信息
     * @param appVersion
     * @param multipartFile
     * @param request
     * @return
     */
    ResultState save(AppVersion appVersion, MultipartFile multipartFile, HttpServletRequest request);

    /**
     * 修改版本信息
     * @param appVersion
     * @return
     */
    ResultState update(AppVersion appVersion);
}
